package com.tyk.bookstore.back.system.model.vo;

import com.tyk.bookstore.back.system.model.type.RoleState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class RoleVo {
    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "角色名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "角色字符串", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    @Schema(description = "角色描述", requiredMode = Schema.RequiredMode.REQUIRED)
    private String description;

    @Schema(description = "角色状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private RoleState state;

    @Schema(description = "权限ID列表")
    private List<String> permissionIdList;

    @Schema(description = "菜单ID列表")
    private List<String> menuIdList;
}
